package net;

import core.GameObject;

public class ChildAddition extends GameStateChange<GameObject>
{
	public ChildAddition() {
		this(null, null, null);
	}

	public ChildAddition(GameObject parent, String childName, GameObject child) {
		super(parent, childName, child);
	}

	public ChildRemoval getInverse() {
		return new ChildRemoval(getSubject(), getPropertyName(), getArgument());
	}

	protected String getMethodName() {
		return "add" + util.Util.capitalize(getPropertyName());
	}
}